package model

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	Title       string `gorm:"type:varchar(50);not null"`
	ClassId     int    `gorm:"type:int(11);not null"`
	Des         string `gorm:"type:varchar(200);not null"`
	Tag         string `gorm:"type:varchar(100);not null"`
	VideoUrl    string `gorm:"type:varchar(500);not null"`
	ImageUrl    string `gorm:"type:varchar(500);not null"`
	UserId      int    `gorm:"type:int(11);not null"`
	ShowCount   int    `gorm:"type:int(11);not null"`
	AuditStatus int    `gorm:"type:int(11);not null"`
}
